package com.sigmatrix.h5;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
/**
 * 
 *@ClassName: ServletInitalizer
 *@Description: 使spring boot项目在tomcat运行
 *@author MH
 *@date 2017年11月7日 上午9:23:11
 */
public class ServletInitalizer extends SpringBootServletInitializer {

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		return builder.sources(StartH5.class);
	}
	
}
